import random
zhanghu = 10000
for i in range(1,21):
    jixiao = random.randint(1,10)
    if jixiao < 5:
        print(f"员工{i} 绩效低于五分，不发了")
        continue
    
    if zhanghu >= 1000:
        zhanghu -= 1000
        print(f"员工{i} 绩效{jixiao}分，满足条件，发工资10000")
    else:
        print("对不起，余额不足，不发了，滚蛋！")
        break
